import React from 'react'



const Input = ({addItem}) => {

    return (
        <div>
            <input type="text" onKeyDown={addItem}/>
            
        </div>
    )
}

export default Input
